package com.vilen.weixin.quartz;

import com.vilen.weixin.kit.DuplicateMessageKit;
import com.vilen.weixin.model.DuplicateMessage;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * Created by Administrator on 2016/2/17.
 */
public class ClearDuplicateMessageJob extends QuartzJobBean{
    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        DuplicateMessageKit.clear();
    }
}
